This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
But why have this example in the help file.
Code below is directly from the help file for AddNewLine. This is what I adapated.
Be much better if they added a full instead of partial code.
I note that they are running a backend save, and it doesn't mention the need to refresh the ui either.
Dim doc As NotesDocument
Dim rtitem As Variant
'...set value of doc...
Set rtitem = doc.GetFirstItem( "ProjectDescription" )
If rtitem.Type = RICHTEXT Then
Call rtitem.AddNewLine( 1 )
Call rtitem.AppendText( "Book is 64 pages, full color." )
End If
Call doc.Save( False, True )
Feedback response number WEBB86NDX6 created by ~Evelyn Cisnither on 06/22/2010